<% 
  Object root = com.eos.web.taglib.util.XpathUtil.getDataContextRoot("f", pageContext);
  Object referer =  com.eos.web.taglib.util.XpathUtil.getObjectByXpath(root,"pgreferer");
  if (referer == null){//如果为空就记录上一个访问的页面并设置页面
     com.eos.web.taglib.util.XpathUtil.setValue("f", pageContext, "pgreferer", request.getHeader("referer"));
  }
%>